#!/usr/bin/env python
# -*- coding:utf-8 -*-

from rest_framework import viewsets
from models import UserProfile
from serializer import UserSerializer

class UserViewSet(viewsets.ModelViewSet):
    queryset = UserProfile.objects.all()
    serializer_class = UserSerializer